Icon.constructor   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 11
rs 9.4285

2 Functions

Rating   Name   Duplication   Size   Complexity  
A icon.js ➔ Icon 0 5 1
A Icon.getURL 0 3 1
1
"use strict";
2
Object.defineProperty(exports, "__esModule", { value: true });
3
var Icon = /** @class */ (function () {
4
    function Icon(id, version, cdn) {
5
        this.id = id;
6
        this.cdn = cdn;
7
        this.version = version;
8
    }
9
    Icon.prototype.getURL = function () {
10
        return this.cdn + "/" + this.version + "/img/profileicon/" + this.id + ".png";
11
    };
12
    return Icon;
13
}());
14
exports.Icon = Icon;
15
//# sourceMappingURL=icon.js.map